/******************************************************************************
* File description: openfilelocatefileuploadwebaddui.h
* Function: 打开：本地文件-网络文件添加
* Current Version: 1.0.0
* Author: 张宇轩
* Date: 2024-08-31
*  -----
*  Copyright by 博坤生物 .
 *****************************************************************************/
#ifndef OPENFILELOCATEFILEUPLOADWEBADDUI_H
#define OPENFILELOCATEFILEUPLOADWEBADDUI_H

#include <QObject>
#include <QQuickWidget>
#include <QQmlContext>

class OpenFileLocateFileUploadWebAddUI : public QQuickWidget
{
    Q_OBJECT

public:
    OpenFileLocateFileUploadWebAddUI();
    ~OpenFileLocateFileUploadWebAddUI();

signals:
         // 发给qml

private slots:
    // qml槽函数
    void onCancel(); // 取消

public:
    QQmlContext* getContext() const; // 获取qmlcontext
    QObject* getRootObject() const; // 获取rootObject

    // 页面显示
    void hunheShow();

private:
         // 数据转换

private:
    QObject *_rootObj;
    QQmlContext *_rootContext;
};


#endif // OPENFILELOCATEFILEUPLOADWEBADDUI_H
